 <div class="product-listing">
	<div class="title_left_bg">
    </div>
    <div class="title_center_bg">
    <div class="title_center_icon">
    </div>Tin tức, sự kiện</div>
    <div class="title_right_bg"></div>
<?
$row = getRecord("tbl_content", "id=" . $_REQUEST['id']);
?>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td colspan="2" valign="top" class="style222"><?= $row["name"] ?><br />
                            <span> (<?= dateFormat($row['last_modified'], $_lang) ?>) </span>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <div align="justify"><? if ($row["image_large"] == '') {
                } else { ?>
    		<img src="<?= $row["image_large"] ?>"  width="230" height="200" hspace="8" vspace="4" align="left" /><? } ?><?= $row["detail"] ?></div>
            <br />
            </td>
        </tr>
    </table>				
    <table align="center" border="0" width="98%" cellpadding="0" cellspacing="0">
    	<tr>
            <td>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="style222">Các tin bài khác</td>
                    </tr>
                    <?
                    $code = $_lang == 'vn' ? 'vn_news' : 'en_news';
                    $parentWhere = "and parent = (select id from tbl_content_category where code='" .
                        $code . "')";
                    $sql = "select * from tbl_content where status=0 and id <> '" . $row['id'] .
                        "' and parent=" . $row['parent'] . " $parentWhere order by sort,date_added desc";
                    $result = @mysql_query($sql, $conn);
                    while ($n = @mysql_fetch_assoc($result)) {
                    ?>
                    <tr>
                        <td class="style40"><img src="images/icon_66.jpg" width="9" height="9" hspace="7" />
                            <a href="./?frame=news_detail&id=<?= $n['id'] ?>" class="link"><?= $n['name'] ?></a> 
                            <span>(<?= date('d/m/Y', strtotime($n['date_added'])) ?>)</span><br />
                        </td>
                    </tr>
                       <? } ?>
                </table>
            </td>
        </tr>
    </table>
</div><!--end .product-listing-->
<div class="page-bottom">
    <span>
    </span>
</div>




			   